package com.jjh.service;

import com.jjh.consts.Result;
import com.jjh.pojo.Flavour;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface FlavourService {
    Result getAll();
    @Transactional
    Result addOne(Flavour flavour);
    @Transactional
    Result updateOne(Flavour flavour);
    @Transactional
    Result deleteByIds(List<Integer> ids);
}
